<div>
    <h3>Pla2 API</h3>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Install Pla2 API </h5>
    <p>
        <?php   highlight_string('<?php
    require_once("platwo.php");
    $platwo = new Platwo;
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Regster Function </h5>
    <p>$username = username field<br>
        $password = password field<br>
        $email = email field<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->registerWithUsername($username,$password,$email);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Login Function </h5>
    <p>$username = username or email login<br>
        $password = password<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->loginWithUsername($username,$password);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Like Result Function </h5>
    <p>$id = Like Group id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getLike($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Photo Group Function</h5>
    <p>$id = Photo Group id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getphotoGroup($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Comment Function</h5>
    <p>$id = Photo Group id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getcommentGroup($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get User Detail</h5>
    <p>$id = user id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getUser($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Account Token </h5>
    <p>$id = user id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getUserToken($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get User Album List</h5>
    <p>$id = user id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getUserAlbum($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Site Gallery</h5>
    <p>$id = site id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getSiteGallery($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Site Info</h5>
    <p>$id = site id PK<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getSiteInfo($id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Like</h5>
    <p>$id = Like Group id PK<br>
        $uid = user id<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->Like($id,$uid);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>unLike</h5>
    <p>$like_id = Like Group id PK<br>
        $uid = user id<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->unLike($like_id,$uid);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>add Review Site</h5>
    <p>$uid = user id<br>
        $place_id = place id<br>
        $rate = Rate Star<br>
        $text = text review<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->addReviewSite($uid,$place_id,$rate,$text);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>useful yes</h5>
    <p>$uid = user id<br>
        $review_id = review id<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->usefulYes($uid,$review_id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>useful no</h5>
    <p>$uid = user id<br>
        $review_id = review id<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->usefulNo($uid,$review_id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>useful Deleting</h5>
    <p>$uid = user id<br>
        $review_id = review id<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->usefulDel($uid,$review_id);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Review Site</h5>
    <p>$place_id = place id pk<br>
        $uid = user id or null<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->getReview($place_id,$uid = null);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Add Tab Site</h5>
    <p>$place_id = place id pk<br>
        $uid = user id or null<br>
        $name = tab name<br>
        $type = tab type<br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->AddTabSite($place_id,$uid,$name,$type);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Edit Tab Site</h5>
    <p>$place_id = place id pk<br>
        $uid = user id or null<br>
        $name = tab name<br>
        $type = tab type<br>
        $tabid = tab id pk <br>
        return : json</p>
    <p>
        <?php highlight_string('<?php
    $platwo->EditTabSite($place_id,$uid,$name,$type,$tabid);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Del Tab Site</h5>
    <p>$tabid = tab id<br>
        $place_id = place id<br>
        $uid = user id<br>
    <p>
        <?php highlight_string('<?php
    $platwo->DelTabSite($tabid,$place_id,$uid);
?>'); ?>
    </p>
</div>
<div style="border: dashed 1px #333;margin-bottom: 10px;padding: 10px;">
    <h5>Get Tab Site</h5>
    <p>
        $place_id = place id<br>
    <p>
        <?php highlight_string('<?php
    $platwo->getTabSite($place_id);
?>'); ?>
    </p>
</div>




















